/**
 * 
 * @Author: biubiu0002
 * @Date: 2021-04-26 11:41
 **/




#ifndef EAIM_SYSTEM_STUDENTSCOREMAPPER_H
#define EAIM_SYSTEM_STUDENTSCOREMAPPER_H


#include <list>
#include <vector>
#include "StudentScore.h"
class StudentScoreMapper {
private:
    std::list<StudentScore> studentScoreList;

public:

    std::vector<StudentScore> selectByStudentId(std::string studentId);
    std::vector<StudentScore> selectByCourseId(std::string courseId);
    std::list<StudentScore> loadStudentScoreMapper();
    int batchInsertStudentScore(std::list<StudentScore>& studentScoreList);
    const std::list<StudentScore> &getStudentScoreList() const;

    void setStudentScoreList(const std::list<StudentScore> &studentScoreList);
    StudentScoreMapper();
    virtual ~StudentScoreMapper();
};


#endif //EAIM_SYSTEM_STUDENTSCOREMAPPER_H
